using System;
using System.Collections.Generic;
using System.Text;

using Liberty.Domain.ApprovalManagement;

using Liberty.Persistence;
using Liberty.Persistence.ApprovalManagement;

using Peradigm.Framework.Domain.Collections;
using Peradigm.Framework.Domain.Collections.Generic;
using Peradigm.Framework.Domain.Parties;
using Peradigm.Framework.Domain.Security;

namespace Liberty.Application.ApprovalManagement
{
    [Serializable]
    public class ReminderController : AbstractController
    {
        #region Constants
        #endregion

        #region Event Handlers
        #endregion

        #region Methods
        public List<FollowUpEvent> FollowUpEventsFor( User aUser )
        {
            return this.EventBroker.FollowUpEventsFor( aUser );
        }
        #endregion

        #region Properties
        public EventBroker EventBroker
        {
            get
            {
                return this.i_EventBroker;
            }
            set
            {
                this.i_EventBroker = value;
            }
        }
        #endregion

        #region Private Methods
        #endregion

        #region Private Properties
        #endregion

        #region Construction and Finalization
        public ReminderController()
            : base()
        {
            string cxnString = base.ConnectionString;
            this.EventBroker = new EventBroker( cxnString );
        }
        #endregion

        #region Data Elements
        private EventBroker i_EventBroker;
        #endregion
    }
}
